package com.zmcn.flowindex.bean.vo;

import java.util.Date;
/**
 * 
 * 角色表值对象
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
public class RoleVO {

	/**
	 * 角色表主键
	 */
	private String roleId;

	/**
	 * 角色名称
	 */
	private String name;

	/**
	 * 角色描述
	 */
	private String description;

	/**
	 * 创建者：来至用户表账号
	 */
	private String creator;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 最后更新者：来至用户表账号
	 */
	private String lastEditor;

	/**
	 * 最后更新时间
	 */
	private Date lastUpdateTime;

	/**
	 * 状态：0-正常 1-删除
	 */
	private int status;

	public RoleVO() {
		super();
	}

	public static final String STRUCT = "(role.roleId, role.name, role.description, role.creator, role.createTime, role.lastEditor, role.lastUpdateTime, role.status)";

	public RoleVO(String roleId, String name, String description, String creator, Date createTime, String lastEditor, Date lastUpdateTime, int status) {
		super();
		this.roleId = roleId;
		this.name = name;
		this.description = description;
		this.creator = creator;
		this.createTime = createTime;
		this.lastEditor = lastEditor;
		this.lastUpdateTime = lastUpdateTime;
		this.status = status;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getLastEditor() {
		return lastEditor;
	}

	public void setLastEditor(String lastEditor) {
		this.lastEditor = lastEditor;
	}

	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}